<%@ page pageEncoding='UTF-8'%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:set var="contextPath" value="#request.get('javax.servlet.forward.context_path')" scope="request" />

<div id="appointment-date-select-container">
	<h2 class="text-center">
		<span>
			<a class="date-navigation" href="${contextPath}/appointment/list?aptDate=${aptPrevDate}">
				<i class="icon-arrow-left-4" title="${aptPrevDate}"></i>
			</a>
		</span>
		<span>
			<div id="appointment-date-picker" class="input-control text date-picker" data-date="${aptDate}" data-role="datepicker" data-format='yyyy-mm-dd'>
				<input id="appointment-date-picker-input" type="text" name="aptDate" value="${aptDate}">
				<div class="btn-date"></div>
			</div>
		</span>
		<span>
			<a class="date-navigation" href="${contextPath}/appointment/list?aptDate=${aptNextDate}">
				<i class="icon-arrow-right-4" title="${aptNextDate}"></i>
			</a>
		</span>
	</h2>
</div>